Affiliate API - Get Quote( getQuote )

Navigate to Affiliate API

Details

  • CustomActionName get-quote
  • Name Get Quote
  • Description Find quote information for a specified request.
  • MethodGroup Inventory Service

Parameters

  • q
    Type String
    Description The hotel ID and room ID you wish to obtain a quote for, separated by a comma. NOTE: If not supplied with optional parameters, the request will default to the following settings: <br />* checkin = today <br />* nights = 3 <br />* adults = 2 <br />* children = 0 <br />
    Example <a class="showCode" href="/api/get-quote?q=200324,1108292&webid=45">/api/get-quote?q=200324,1108292&webid=45</a>
    Required true
  • checkin
    Type String
    Description Check In: The date for the start of the grid.
    Example <a class="showCode" href="/api/get-quote?q=200324,1108292&checkin=2011-05-23&webid=45">/api/get-quote?q=200324,1108292&checkin=2011-05-23&webid=45</a>
  • nights
    Type Int32
    Description Nights: The number of nights stay until check-out.
    Example <a class="showCode" href="/api/get-quote?q=200324,1108292&checkin=2011-05-23&nights=3&webid=45">/api/get-quote?q=200324,1108292&checkin=2011-05-23&nights=3&webid=45</a>
  • adults
    Type Int32
    Description Adults: The number of adult guests.
    Example <a class="showCode" href="/api/get-quote?q=200324,1108292&adults=4&webid=45">/api/get-quote?q=200324,1108292&adults=4&webid=45</a>
  • children
    Type Int32
    Description Children: The number of children guests.
    Example <a class="showCode" href="/api/get-quote?q=200324,1108292&children=2">/api/get-quote?q=200324,1108292&children=2</a>
  • cb
    Type String
    Example <a class="showCode" href="/api/get-quote?q=200324,1108292&webid=45&cb=jsonpFEBC23945A">/api/get-quote?q=200324,1108292&webid=45&cb=jsonpFEBC23945A</a>
  • webid
    Type Int32
    Description The affiliate id for the message you are requesting.
    Required true
  • callback
    Type String
    Description Define a callback function for cross-site ajax
  • IgnoreCache
    Type Boolean
  • ShowError
    Type Boolean

Faults